Skip to content

Fix Vert.x sub-router http.route attributes#18462

Merged
trask merged 7 commits into
open-telemetry:mainfrom
rohitmohan96:fix-vertx-subrouter-http-route
May 2, 2026
Merged

Fix Vert.x sub-router http.route attributes#18462
trask merged 7 commits into
open-telemetry:mainfrom
rohitmohan96:fix-vertx-subrouter-http-route

Conversation

@rohitmohan96

@rohitmohan96 rohitmohan96 commented Apr 30, 2026

Copy link
Copy Markdown
Contributor

Fixes #18461.

This updates the Vert.x web instrumentation route extraction to use RoutingContext.mountPoint() when Vert.x provides it. Sub-router mount points are cumulative, so this preserves parent mount path segments in http.route while retaining the existing RouteHolder fallback for contexts without a mount point.

@linux-foundation-easycla

linux-foundation-easycla Bot commented Apr 30, 2026

Copy link
Copy Markdown

CLA Signed

The committers listed above are authorized under a signed CLA.

@rohitmohan96 rohitmohan96 marked this pull request as ready for review April 30, 2026 22:38
@rohitmohan96 rohitmohan96 requested a review from a team as a code owner April 30, 2026 22:38

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3f402c27bf

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@trask trask merged commit 6985c81 into open-telemetry:main May 2, 2026
344 of 350 checks passed
@otelbot

otelbot Bot commented May 2, 2026

Copy link
Copy Markdown
Contributor

Thank you for your contribution @rohitmohan96! 🎉 We would like to hear from you about your experience contributing to OpenTelemetry by taking a few minutes to fill out this survey.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Vert.x sub-router mount paths are missing from http.route

2 participants